<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<!--会员注册-->
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="userId" name="userId" type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">编号：</label>
								<div class="col-sm-8">
									<input id="code" name="code" th:value="${code}" class="form-control" type="text"
										   autocomplete="off" value="13207145532">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">登录密码：</label>
								<div class="col-sm-8">
									<input id="password" name="password" class="form-control" type="password" value="111111"
										   autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">确认密码：</label>
								<div class="col-sm-8">
									<input id="confirm_password" name="confirm_password" class="form-control"
										type="password" value="111111" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">推荐人邀请码：</label>
								<div class="col-sm-8">
									<input id="invitateCode" name="invitateCode" class="form-control"
										type="text" autocomplete="off" value="">
								</div>
							</div>

							<div class="form-group" type="hidden" id="showname1">
								<label class="col-sm-3 control-label">推荐人姓名：</label>
								<div class="col-sm-8">
									<span id="tname" style="color: red"></span>
								</div>
							</div>


							<div class="form-group">
								<label class="col-sm-3 control-label">会员级别：</label>
								<div class="col-sm-8">
									<select id="level" name="level">
										<option value="-1">请选择</option>
										<option value="0">商家</option>
										<option value="1">二级代理</option>
										<option value="2">一级代理</option>
										<option value="3">市代理</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">报单中心：</label>
								<div class="col-sm-8">
									<input id="coreCode" name="coreCode" class="form-control"
										   type="text" autocomplete="off" value="">
								</div>
							</div>
							<div class="form-group" type="hidden" id="showname2">
								<label class="col-sm-3 control-label">报单人姓名：</label>
								<div class="col-sm-8">
									<span id="bname" style="color: red"></span>
								</div>
							</div>


							<div class="form-group">
								<label class="col-sm-3 control-label">真实姓名：</label>
								<div class="col-sm-8">
									<input id="name" name="name" class="form-control"
										   type="text" autocomplete="off" value="">
								</div>
							</div>

							<div class="form-group" hidden="hidden">
								<label class="col-sm-3 control-label">性别：</label>
								<div class="col-sm-8">
									<input id="sex" name="sex" class="form-control" type="radio" value="0">男
									<input  name="sex" class="form-control" type="radio" value="1">女
								</div>
							</div>
							<div class="form-group" hidden="hidden">
								<label class="col-sm-3 control-label">年龄：</label>
								<div class="col-sm-8">
									<input id="hobby" name="hobby" class="form-control"
										   type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">手机号：</label>
								<div class="col-sm-8">
									<input id="mobile" name="mobile" class="form-control"
										   type="text" autocomplete="off" value="">
								</div>
							</div>
							<div class="form-group" hidden="hidden">
								<label class="col-sm-3 control-label">证件编号：</label>
								<div class="col-sm-8">
									<input id="idcard" autocomplete="off" name="idcard" class="form-control"
										   type="text" placeholder="身份证号" value="">
								</div>
							</div>
							<div class="form-group" hidden="hidden">
								<label class="col-sm-3 control-label">邮箱：</label>
								<div class="col-sm-8">
									<input id="email" autocomplete="off" name="email" class="form-control"
										   type="text">
								</div>
							</div>
							<div class="form-group" hidden="hidden">
								<label class="col-sm-3 control-label">会员地址：</label>
								<div class="col-sm-8">
									<input id="district" autocomplete="off" name="district" class="form-control"
										   type="text" placeholder="详细地址" value="">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">保存</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>

	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/sys/user/addUser.js">
	</script>
</body>
</html>
